package org.ahuanlien.crm.service;

import org.ahuanlien.crm.domain.Dictionary;

import java.util.List;

public interface IDictionaryService {


	void saveOrUpdate(Dictionary dictionary);

	void deleteByPrimaryKey(Long id);

	List<Dictionary> selectRootDictionary();

	List<Dictionary> selectDictionaryItemBySn(String sn);

	void saveOrUpdateSn(Dictionary dictionary);

	void deleteByPrimaryKeySn(Long id);

	Dictionary selectDictionaryItemById(Long id);
}
